<include file="public/header" />
<include file="public/left" />
<div id="toolTipLayer" style="position: absolute; z-index: 9999; display: none; visibility: visible; left: 95px; top: 573px;"></div>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
    <div class="fixed-bar">
        <div class="item-title"><a class="back" href="javascript:history.back();" title="返回列表">返回上一页</a>
            <div class="subject">
                <h3>信息编辑</h3>
                <h5>网站系统权限资源管理</h5>
            </div>
        </div>
    </div>
<form method="post" enctype="multipart/form-data">
    <section>
        <ul class="ulColumn2">
            <li>
                <span class="item_name" style="width:120px;">主图：</span>
               <input type="file" name="image" class="textbox textbox_295"/>
               <input type="hidden" name="image" class="textbox textbox_295" value="<if condition='isset($category.img)'>{$category.img}</if>"/>
            </li>
            <if condition="isset($category.img)">
              <li>
                  <span class="item_name" style="width:120px;">主图：</span>
                  <img height="100" src="__STATIC__/uploads/{$category.img}" alt="">
              </li>
           </if>
            <li>
                <if condition="isset($category['id'])">  <input type="hidden" name="id" value="{$category['id']}"></if>
                <span class="item_name" style="width:120px;">分类名称：</span>
                <input type="text" name="name" class="textbox textbox_295" <if condition="isset($category['name'])"> value='{$category['name']}'</if>/>
            </li>
            <li>
                <span class="item_name" style="width:120px;">分类描述：</span>
                    <input type="text" name="des" class="textbox textbox_295" <if condition="isset($category['des'])"> value='{$category['des']}'</if>/>
            </li>
            <li>
                <span class="item_name" style="width:120px;">排序：</span>
                <input type="text" name="sort" class="textbox textbox_295" <if condition="isset($category['sort'])"> value='{$category['sort']}'</if>/>
            </li>
            <li>
                <span class="item_name" style="width:120px;"></span>
                <input type="submit" class="link_btn" value="提交" />
            </li>
        </ul>
    </section>
</form>
</div>
</section>
</body>

</html>